<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
		<link href="__STATIC__/public/css/bootstrap.min.css" rel="stylesheet">
		<title>popularize - 推广后台</title>
	</head>

	<body>
		<header>
			<div class="jumbotron">
				<h1>新增用户</h1>
				<a class="btn btn-primary" role="button" href="{:Url('index')}">首页</a>
			</div>
		</header>
		<main>
			<div style="background-color: #fff" class="jumbotron">
				<form action="{:Url('insert')}" method="post">
					<div class="form-group">
						<label for="username">用户名</label>
						<input type="text" class="form-control" id="username" name="username" placeholder="请输入用户名" autocomplete="off">
					</div>
					<div class="form-group">
						<label for="password">密码</label>
						<input type="password" class="form-control" id="password" name="password" placeholder="请输入密码" autocomplete="off">
					</div>
					<div class="form-group">
						<label for="superior_id">上级</label>
						<select class="form-control" id="superior_id" name="superior_id">
							<option selected>请选择上级</option>
							<option value="0">BOSS</option>
							{volist name="data" id="row"}
								<option value="{$row.id}">{$row.username}</option>
							{/volist}
						</select>
					</div>
					<button type="submit" class="btn btn-outline-primary">新增</button>
				</form>
			</div>
		</main>
	</body>

</html>